class yumlocal::nvgpu inherits yumlocal{

  yumrepo { "nvgpu":
        baseurl => "http://${mirrorserver}/yum/nvidia/rhel${operatingsystemmajrelease}/x86_64",
        descr => "nvidia driver",
        enabled => 1,
        gpgcheck => 0,
        before   => Yumrepo['site']
  }
}
